//
//  OADConfigViewController.m
//  OASDK_Works
//
//  Created by ChenJie on 4/20/20.
//  Copyright © 2020 Mist. All rights reserved.
//

#import "OADConfigViewController.h"
#import "OADConfig.h"

@interface OADConfigViewController ()

@end

@implementation OADConfigViewController

#pragma mark - ViewController lifecycle

- (instancetype)init {
    self = [super init];
    if (self) {
    }
    return self;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    //
    self.view.backgroundColor = [UIColor whiteColor];
    self.navigationItem.title = NSStringFromClass(self.class);
    
    //
    OADConfig *config = [OADConfig new];
    config.left = 10;
    config.top = 20;
    config.height = 30;
    config.width = 40;
    
    
//    OADConfig.config
//    .left(10)
//    .top(20)
//    .width(10)
//    .height(40)
//    .addSubnode()
//    .addSubnode()
}

- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
}

- (void)viewDidAppear:(BOOL)animated {
    [super viewDidAppear:animated];
}

- (void)viewWillDisappear:(BOOL)animated {
    [super viewWillDisappear:animated];
}

- (void)viewDidDisappear:(BOOL)animated {
    [super viewDidDisappear:animated];
}

- (void)viewWillLayoutSubviews {
    [super viewWillLayoutSubviews];
}

- (void)viewDidLayoutSubviews {
    [super viewDidLayoutSubviews];
    
    //
}

- (UIStatusBarStyle)preferredStatusBarStyle {
    return UIStatusBarStyleLightContent;
}

#pragma mark - Public methods



#pragma mark - Private methods



#pragma mark - Event response methods

- (void)buttonClicked:(UIButton *)button {
    NSLog(@"button clicked...");
}

#pragma mark - Deletate methods



#pragma mark - Setter



#pragma mark - Getter



#pragma mark - Memory management

- (void)dealloc {
}

@end
